package com.world.login.domain.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录
 *
 * @author WangYX
 * @version 1.0.0
 * @date 2023/06/01 11:00
 */
@Data
public class LoginRequest {

    /**
     * 账号
     */
    @NotBlank(message = "账号必填！")
    @ApiModelProperty("账号")
    private String userName;

    /**
     * 密码
     */
    @NotBlank(message = "密码必填！")
    @ApiModelProperty("密码")
    private String password;
}
